package net.sky.oa.service.ioffice.impl;

import java.util.List;

import javax.annotation.Resource;

import net.sky.oa.dao.ioffice.OffNotepadDao;
import net.sky.oa.model.OffNotepad;
import net.sky.oa.service.ioffice.OffNotepadService;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.htsoft.core.service.impl.BaseServiceImpl;

@Service
@Transactional
public class OffNotepadServiceImpl extends BaseServiceImpl<OffNotepad> implements OffNotepadService{
    
	 private OffNotepadDao dao;
    
	 @Resource
	public void setDao(OffNotepadDao dao) {
		super.setDao(dao);
	   this.dao=dao;
	}
    @Transactional(readOnly=true)
	public List<OffNotepad> findAllOffNotepad() {
     
		return dao.findAllNotepad();
	}

	public List<OffNotepad> findByHql(String hql) {
		
		return null;
	}


}
